<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>制作调拨单</title>
  <link href="../../css/style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="25" align="center" valign="bottom" class="td06"><table width="98%" border="0" cellspacing="3" cellpadding="0">
        <tr>
          <td width="15"><img src="../../images/index_32.gif" width="9" height="9"></td>
          <td valign="bottom" class="title">制作调拨单</td>
        </tr>
      </table></td>
    </tr>
  </table>
  <form name="form1" method="post" action="">
    <table width="95%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="90" height="24" class="td_form01">制作人</td>
        <td class="td_form02">
          <input type="text" size="10">
        </td>
        <td width="90" class="td_form01">性别</td>
        <td class="td_form02">
          <select class="">
            <option>男</option>
            <option>女</option>
          </select>
        </td>
      </tr>
      <tr>
        <td height="24" class="td_form01">部门</td>
        <td class="td_form02">
          <select>
            <option>药房管理</option>
            <option>药房管理</option>
            <option>药房管理</option>
          </select>
        </td>
        <td class="td_form01">工号</td>
        <td class="td_form02">
          <input type="input" class="" size="10">
        </td>
      </tr>
    </table>
    <hr>
    <table width="1000" size="1" class="table02">
      <tr>
        <td class="td_form01">物品编号</td>
        <td class="td_form01">物品名称</td>
        <td class="td_form01">调拨数量</td>


        <td class="td_form01">调拨日期</td>

        <td class="td_form01">选择</td>
        <td class="td_form01">操作</td>
      </tr>
      <tr>
        <td class="td_form02">
          <input type="text" size="5">
        </td>
        <td class="td_form02">
          <input type="text" size="5">
        </td>
        <td class="td_form02">
          <input type="text" size="3">
        </td>



        <td class="td_form02">
          <input  type="date">
        </td>


        <td class="td_form02">
          <input type="checkbox">是
        </td>
        <td class="td_form02">
          <input type="button" class="add" value="添加">
          <input type="button" class="del" value="删除" onclick="del(this)">
        </td>
      </tr>
    </table>
    <br>
    <table width=95% border=0 align=center cellpadding=0 cellspacing=0 whdth='100%'>
      <tr>
        <td align="center">

          <input name=save  type=button class=buttonface value= '  提交  '  >
          <input name=cancel  type=button class=buttonface value= '  返回  ' ></td>
      </tr>
    </table>
  </form>
</center>
</body>
</html>
<script src="../../js/jquery-1.2.3.js">

</script>
<script>

  var _tr = "<tr>\n" +
          "        <td class=\"td_form02\">\n" +
          "          <input type=\"text\" size=\"5\">\n" +
          "        </td>\n" +
          "        <td class=\"td_form02\">\n" +
          "          <input type=\"text\" size=\"5\">\n" +
          "        </td>\n" +
          "        <td class=\"td_form02\">\n" +
          "          <input type=\"text\" size=\"3\">\n" +
          "        </td>\n" +

          "\n" +
          "        <td class=\"td_form02\">\n" +
          "          <input  type=\"date\">\n" +
          "        </td>\n" +
          "\n" +

          "        <td class=\"td_form02\">\n" +
          "          <input type=\"checkbox\">是\n" +
          "        </td>\n" +
          "        <td class=\"td_form02\">\n" +
          "          <input type=\"button\" class=\"add\" value=\"添加\">\n" +
          "          <input type=\"button\" class=\"del\" value=\"删除\" onclick=\"del(this)\">\n" +
          "        </td>\n" +
          "      </tr>"
  var i=$("add").length;
  $($(".add")[i-1]).click(function () {
    alert("添加")
    $(".table02").append(_tr);

    i=$("add").length;
  })

  $(".del").click(function () {
    this.value("haha");
  })
</script>
